package com.itheima.service;

import com.itheima.pojo.CmsPrefrenceArea;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CmsPrefrenceAreaService {

    @DubboReference
    private CmsPrefrenceAreaApi cmsPrefrenceAreaApi;

    /**
     * 获取所有商品优选
     */
    public List<CmsPrefrenceArea> listAll() {
        return cmsPrefrenceAreaApi.listAll();
    }
}
